using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace sCicero
{
    public partial class period_init : Form
    {

        private sCicero.scicero m_osCicero;

        public period_init(ref sCicero.scicero osCicero)
        {
            InitializeComponent();
            m_osCicero = osCicero;
        }


        private void period_init_Load(object sender, EventArgs e)
        {
            this.textBox_period.Focus();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            m_osCicero.Periods.New(this.textBox_period.Text.Trim(), true);
            this.Close();
        }
    }
}